package org.bright.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.bright.entity.User;

import java.util.List;
@Mapper
public interface UserMapper {
    List<User> getUsers(@Param("name") String name, @Param("age") Integer age);
    int deleteById(@Param("id")int id);
    int insert(User user);
    int updateUser(User user);
}
